package cate.game.role.friend.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBFriend;
import cate.game.role.RoleSnapshot;
import easy.java.dev.note.NoteField;

@ClientMsg(title = "好友信息更新")
public class FriendUpdateResp implements MsgOutput {
    @NoteField(value = "更新的好友快照")
    public RoleSnapshot it;

    public FriendUpdateResp(){}

    public FriendUpdateResp(RoleSnapshot it){
        this.it = it;
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBFriend.UPDATE_RESP;
    }
}
